import { i18n } from "@/i18n";

export const signPadProps = {
  value: {
    type: String,
    default: ""
  },
  color: {
    type: String,
    default: ""
  },
  // 文件上传地址
  action: {
    type: String,
    default: ""
  },
  textConfig: {
    type: Object,
    default: () => ({
      tips: i18n.global.t("formgen.sign.desc"),
      clearBtnText: i18n.global.t("formgen.sign.clear"),
      confirmBtnText: i18n.global.t("formI18n.all.confirm"),
      backBtnText: i18n.global.t("formgen.sign.withdraw"),
      reSignBtnText: i18n.global.t("formgen.sign.resign")
    })
  },
  backgroundImg: {
    type: String,
    default: ""
  }
};

export const signPadEmit = ["update:value"];
